package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.ObuEf01Mapper;
import com.ruoyi.system.domain.ObuEf01;
import com.ruoyi.system.service.IObuEf01Service;

/**
 * Service业务层处理
 *
 * @author ruoyi
 * @date 2025-01-03
 */
@Service
public class ObuEf01ServiceImpl implements IObuEf01Service
{
    @Autowired
    private ObuEf01Mapper obuEf01Mapper;

    /**
     * 查询
     *
     * @param id 主键
     * @return
     */
    @Override
    public ObuEf01 selectObuEf01ById(Long id)
    {
        return obuEf01Mapper.selectObuEf01ById(id);
    }

    @Override
    public ObuEf01 selectObuEf01ByB4Id(Long id)
    {
        return obuEf01Mapper.selectObuEf01ByB4Id(id);
    }

    /**
     * 查询列表
     *
     * @param obuEf01
     * @return
     */
    @Override
    public List<ObuEf01> selectObuEf01List(ObuEf01 obuEf01)
    {
        return obuEf01Mapper.selectObuEf01List(obuEf01);
    }

    /**
     * 新增
     *
     * @param obuEf01
     * @return 结果
     */
    @Override
    public int insertObuEf01(ObuEf01 obuEf01)
    {
        return obuEf01Mapper.insertObuEf01(obuEf01);
    }

    /**
     * 修改
     *
     * @param obuEf01
     * @return 结果
     */
    @Override
    public int updateObuEf01(ObuEf01 obuEf01)
    {
        return obuEf01Mapper.updateObuEf01(obuEf01);
    }

    /**
     * 批量删除
     *
     * @param ids 需要删除的主键
     * @return 结果
     */
    @Override
    public int deleteObuEf01ByIds(Long[] ids)
    {
        return obuEf01Mapper.deleteObuEf01ByIds(ids);
    }

    /**
     * 删除信息
     *
     * @param id 主键
     * @return 结果
     */
    @Override
    public int deleteObuEf01ById(Long id)
    {
        return obuEf01Mapper.deleteObuEf01ById(id);
    }
}
